package SQL.abysnSQL;

/*
 * coldef ::= colname:cn datatype:dt isnull:n defaultvalue:dv inc:i
		{:RESULT = new ColDef(cn,dt,b,dv,i);:};
 */


public class ColDef{

	public ColName colName;
	public DataType dataType;
	public boolean isNull;
	public Value defaultValue;
	public boolean isInc;
	
	public ColDef(ColName cn, DataType dt, boolean isNull, Value dv, boolean inc){
		colName = cn;
		dataType = dt;
		this.isNull = isNull;
		defaultValue = dv;
		isInc = inc;		
	}
}


